package com.neuedu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neuedu.entity.RegistLevel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 挂号级别表 服务类
 * </p>
 *
 * @author LiYang
 * @since 2024-11-07
 */
public interface RegistLevelService extends IService<RegistLevel> {
    IPage<RegistLevel> list(Integer pageNo, Integer pageSize, String name);
    boolean add(String code, String name, Integer fee, Integer quota, Integer sequenceNo);
    boolean update(Long id, String code, String name, Integer fee, Integer quota, Integer sequenceNo);
    boolean del(Long id, Boolean delmark);
    boolean check(String field, String value, Long id);
    List<RegistLevel> getActive();
}
